package com.cuit.zuke.product.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Service
@FeignClient("zuke-data")
public interface DictFeignClient {

    // 根据value值查询
    @GetMapping(value = "/data/dict/getNameById/{id}")
    String getNameById(@PathVariable("id") Long id);

}
